package com.yl.auth.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yl.auth.model.vo.WeijiVo;
import com.yl.auth.model.entity.Weiji;
import com.yl.auth.mapper.WeijiMapper;
import com.yl.auth.service.WeijiService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ln
 * @since 2023-06-19
 */
@Service
public class WeijiServiceImpl extends ServiceImpl<WeijiMapper, Weiji> implements WeijiService {
    @Resource
    private WeijiMapper weijiMapper;



    @Override
    public Page<WeijiVo> getweiji(Page<WeijiVo> iPage, String lrname, String sbtime) {
        return weijiMapper.getweiji(iPage,lrname,sbtime);
    }

    @Override
    public WeijiVo getweijiById(Integer id) {
        return weijiMapper.getweijiById(id);
    }

    @Override
    public List<WeijiVo> getxiaoweiji() {
        return weijiMapper.getxiaoweiji();
    }
}
